home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 04p2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-06  |  1.8 KB  |  64 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gCursorReady, gKnobState, gMagCursor
  3.   puppetSprite(48, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gKnobSprite = 14
  7.   gSendMovie = "04p2"
  8.   setUpKnob()
  9.   set the mouseDownScript to EMPTY
  10.   set the mouseUpScript to EMPTY
  11. end
  12.  
  13. on idle
  14.   global gCursorReady
  15.   if gCursorReady = 1 then
  16.     cursor(200)
  17.     checkCursors()
  18.     set the locH of sprite 48 to the mouseH
  19.     set the locV of sprite 48 to the mouseV
  20.     updateStage()
  21.   end if
  22. end
  23.  
  24. on checkCursors
  25.   global gMagCursor
  26.   gMagCursor = "magCursor"
  27.   set the castNum of sprite 48 to the number of member "curs1"
  28.   if the castNum of sprite 5 and rollOver(5) then
  29.     set the castNum of sprite 48 to the number of member gMagCursor
  30.   end if
  31.   if the castNum of sprite 6 and rollOver(6) then
  32.     set the castNum of sprite 48 to the number of member gMagCursor
  33.   end if
  34.   if the castNum of sprite 7 and rollOver(7) then
  35.     set the castNum of sprite 48 to the number of member gMagCursor
  36.   end if
  37.   if the castNum of sprite 8 and rollOver(8) then
  38.     set the castNum of sprite 48 to the number of member "deMagCursor"
  39.   end if
  40.   repeat with i = 9 to 12
  41.     if the castNum of sprite i and rollOver(i) then
  42.       set the castNum of sprite 48 to the number of member "hotCursor"
  43.     end if
  44.   end repeat
  45.   repeat with i = 15 to 17
  46.     if rollOver(i) then
  47.       set the castNum of sprite 48 to the number of member "hotCursor"
  48.     end if
  49.   end repeat
  50.   repeat with i = 30 to 32
  51.     if rollOver(i) then
  52.       set the castNum of sprite 48 to the number of member "hotCursor"
  53.     end if
  54.   end repeat
  55.   repeat with i = 40 to 42
  56.     if rollOver(i) then
  57.       set the castNum of sprite 48 to the number of member "hotCursor"
  58.     end if
  59.   end repeat
  60.   if the castNum of sprite 47 and rollOver(47) then
  61.     set the castNum of sprite 48 to the number of member "hotCursor"
  62.   end if
  63. end
  64.